package com.bw.service;

import com.bw.domain.Car;
import com.bw.domain.MonthlyCard;
import com.bw.domain.PlateType;
import com.bw.utils.MyEx;

import java.util.List;

public interface CarService {
    List<Car> list(Car car);

    List<PlateType> listPlateType();

    boolean add(Car car, MonthlyCard monthlyCard) throws MyEx;

    int checkPlateNumber(String plateNumber);

    MonthlyCard getMontyCard(String cardNumber);

    int batchDel(String ids);


    List<MonthlyCard> listCar();

    void updateStatus(MonthlyCard monthlyCard);
}
